﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ParallelRuntimeLibrary.Collections
{
    public enum ConcurrentModes
    {
        /// <summary>
        /// Determine that it's not concurrent enabled, or thread safe
        /// </summary>
        None,

        /// <summary>
        /// Determine that it's concurrent enabled through lock the shared resources
        /// </summary>
        Lock, 

        /// <summary>
        /// Determine that it's concurrent enabled through lock-free technique without lock the shared resources
        /// </summary>
        LockFree
    }

    public enum ListConcurrentModes
    {
        /// <summary>
        /// Determine that it's not concurrent enabled, or thread safe
        /// </summary>
        None,

        /// <summary>
        /// Determine that it's concurrent enabled through lock the shared resources
        /// </summary>
        Lock,

        /// <summary>
        /// Determine that it's concurrent enabled through Read-Write lock technique.
        /// </summary>
        ReadWriteLock
    }
}
